# -*- coding: utf-8 -*-
# @Time    : 2018/5/24 下午8:52
# @Author  : Lavn
# @Email   : 959875529@qq.com
# @File    : if-else.py
# @Software: PyCharm

results=59

if results>=60:
    print ('及格')
else :
    print ('不及格')


results = 89

if results > 90:
    print('优秀')
elif results > 80:
    print('良好')
elif results > 60:
    print ('及格')
else :
    print ('不及格')


java = 86
python = 68

if java > 80 and  python > 80:
    print('优秀')
else :
    print('不优秀')

if ( java >= 80  and java < 90 )  or ( python >= 80 and python < 90):
    print('良好')